package com.zf.yichat.mapper;

import com.zf.yichat.base.FsMapper;
import com.zf.yichat.dto.UserDeviceDto;
import com.zf.yichat.model.UserDevice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDeviceMapper extends FsMapper<UserDevice> {
    void updateInsert(@Param("userId") Long id, @Param("deviceId") String deviceId);

    /**
     * 查询所有设备登录多个账号的数据
     */
    List<UserDeviceDto> queryAllDevLoginMultipleAccounts();
}